import request from '@/utils/request'

// 查询HTTP服务端参数列表
export function listWmsHttpServer(query) {
  return request({
    url: '/system/WmsHttpServer/list',
    method: 'get',
    params: query
  })
}

// 查询HTTP服务端参数详细
export function getWmsHttpServer(id) {
  return request({
    url: '/system/WmsHttpServer/' + id,
    method: 'get'
  })
}

// 新增HTTP服务端参数
export function addWmsHttpServer(data) {
  return request({
    url: '/system/WmsHttpServer',
    method: 'post',
    data: data
  })
}

// 修改HTTP服务端参数
export function updateWmsHttpServer(data) {
  return request({
    url: '/system/WmsHttpServer',
    method: 'put',
    data: data
  })
}

// 删除HTTP服务端参数
export function delWmsHttpServer(id) {
  return request({
    url: '/system/WmsHttpServer/' + id,
    method: 'delete'
  })
}

// 导出HTTP服务端参数
export function exportWmsHttpServer(query) {
  return request({
    url: '/system/WmsHttpServer/export',
    method: 'get',
    params: query
  })
}